-- GENERATED SPELL FOR [Darkmist Widow] --


function spell0_4380(pUnit, Event) --@Hatch Spiderlings,Self--
pUnit:FullCastSpellOnTarget(43134,pUnit)
pUnit:RegisterEvent('Sorts_4380', 40293, 1)
end

function Sorts_4380(pUnit, Event)
local choix_sorts_4380 = math.random(0, 0)
if choix_sorts_4380 == 0 then
pUnit:RegisterEvent('spell0_4380', 1, 1)
end
end

function mob4380_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4380', math.random(1500, 3000), 1)
end

function mob4380_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4380_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4380_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4380, 1, 'mob4380_Action')
RegisterUnitEvent(4380, 2, 'mob4380_Leave')
RegisterUnitEvent(4380, 3, 'mob4380_Kill')
RegisterUnitEvent(4380, 4, 'mob4380_Die')
